package com.trxy.mapper;

import com.trxy.model.Customer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface CustomerMapper {
    Customer selectByNameAndPassword(@Param("name") String name,
                                     @Param("password")  String password);

    void addCustomer(String name, String password, String nick);
}